body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

header {
    background: url('bilder/header-bg.jpg') no-repeat center center/cover;
    color: black;
    text-align: center;
    padding: 20px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    background: #444;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: cyan;
    border-radius: 5px;
}

main {
    max-width: 800px;
    margin: 20px auto;
    background: rgb(115, 125, 129);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


main ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 10px;
    background: darkgoldenrod;
    color: white;
    position: relative;
    width: 100%;
    bottom: 0;
}

.portratt, .matbild {
    display: block;
    max-width: 60%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

label, input, textarea, button {
    margin: 10px 0;
}

button {
    background: darkcyan;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: darkcyan;
}


#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: none; 
}

#backToTop:hover {
    background-color: darkgray;
}
